package com.nowadays.mobile;

import android.app.Application;
import android.content.Context;

import com.nowadays.mobile.utils.ForegroundChangeHelper;

public class MainApplication extends Application {
  private static Context mContext;

  @Override
  public void onCreate() {
    super.onCreate();
    mContext = getApplicationContext();
    registerActivityLifecycleCallbacks(ForegroundChangeHelper.getInstance());
  }

  public static Context getContext() {
    return mContext;
  }
}
